package com.sky.utils;

import java.util.UUID;

/**
 * 传入文件名,生成UUID保留后缀名返回
 */
public class FileNameUtils {
    public static String packFileExt(String f){
        String sxt_doc = f.substring(f.indexOf("."));
        String s = UUID.randomUUID().toString().replace("-","")+sxt_doc;
        return s;
    }
}
